#!/bin/bash
read -p "输入目的IP:" host 
ls -n /root/.ansible/roles/tdjy.scripts/*|awk '{print $9}' 
read -p "输入文件名:" file_name
scp /root/.ansible/roles/tdjy.scripts/$file_name $host:/root
